const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('runCmd', (cmd) => {
  ipcRenderer.send('run-cmd', cmd);
});